package com.hw.nio.netty.rpc;


public class Response implements java.io.Serializable {
    Object result;
    Throwable error;


    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public Throwable getError() {
        return error;
    }

    public void setError(Throwable error) {
        this.error = error;
    }

}
